<?php
/**
 * @Author:      zhaoyang
 * @DateTime:    2018-1-30 
 * @Description: PMS 收货单商品处理表
 */
class PMSReceiveProductsResult extends Eloquent
{
    protected $table = "pms_receive_products_result";
    
    public static $type = [1=>'破损拒收', 2=>"不足取消", 3=>'差异拒收', 4=>'其他取消', 5=>'采购更换', 6=>'清点入库'];
    public static $sce_error_type = [1=>'破损拒收', 2=>"不足取消", 3=>'差异拒收', 4=>'其他取消'];
    
    //入库单价 （含税）
    public function StorageItem_info(){
        return $this->belongsTo('MaintenanceStorageItem','storage_id','id');
    }
}